package com.southminority.ethnic.service.language;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.southminority.ethnic.controller.language.vo.LanguagePageResq;
import com.southminority.ethnic.pojo.MinorityLanguageCulture;
import com.baomidou.mybatisplus.extension.service.IService;
import com.southminority.ethnic.pojo.MinorityLanguageSentence;

import java.util.List;

/**
* @author ASHTR
* @description 针对表【minority_language_culture(语言数据库-口传文化)】的数据库操作Service
* @createDate 2025-08-29 00:33:49
*/
public interface MinorityLanguageCultureService extends IService<MinorityLanguageCulture> {
    /**
     * 批量导入口传文化数据
     * @param list 口传文化数据列表
     * @return 是否导入成功
     */
    Boolean InputList(List<MinorityLanguageCulture> list);
    LanguagePageResq<MinorityLanguageCulture> selectPageKey(
            Integer pageNum,
            Integer pageSize,
            String key,
            List<Integer> minorityIds);
    Page<MinorityLanguageCulture> selectOnesPageKey(Integer pageNum, Integer pageSize, String key, List<Integer> minorityIds);
    Boolean add(MinorityLanguageCulture minorityLanguageCulture);
    Boolean delete(Integer id);
    Boolean updata(MinorityLanguageCulture minorityLanguageCulture);
}
